package server;
import java.io.IOException;
import java.net.Socket;

import com.lloseng.ocsf.server.AbstractConnectionFactory;
import com.lloseng.ocsf.server.AbstractServer;
import com.lloseng.ocsf.server.ConnectionToClient;
/**
 * manage client when connected to server
 * @author Termchai 5510546042, Eknarin 5510546239
 *
 */

public class FactoryClient extends AbstractConnectionFactory {

	@Override
	protected ConnectionToClient createConnection(ThreadGroup group,
			Socket clientSocket, AbstractServer server) throws IOException {
		// TODO Auto-generated method stub
		return new ConnectToClient(group, clientSocket, server);
	}
	

}
